package io.kiki.task.server.job.task.support.callback;

import io.kiki.task.common.core.enums.JobTaskTypeEnum;
import io.kiki.task.template.datasource.persistence.mapper.JobTaskMapper;
import org.springframework.stereotype.Component;


@Component
public class MapClientCallbackHandler extends MapReduceClientCallbackHandler {
    public MapClientCallbackHandler(JobTaskMapper jobTaskMapper) {
        super(jobTaskMapper);
    }

    @Override
    public JobTaskTypeEnum getTaskInstanceType() {
        return JobTaskTypeEnum.MAP;
    }

    @Override
    protected void doCallback(ClientCallbackContext context) {
        super.doCallback(context);
    }
}
